﻿
namespace MongoDB
{ /// <summary>
  /// 该类主要保存了mongodb的一些配置信息
  /// </summary>
	public class MongoDBConfig
	{
		/// <summary>
		/// 连接字符串
		/// </summary>
		public string ConnectionString { get; set; }

		/// <summary>
		/// 数据库
		/// </summary>
		public string DataBase { get; set; }

		/// <summary>
		/// 是否需要安全授权验证
		/// </summary>
		public bool IsAuthority { get; set; }

		/// <summary>
		/// 账户名
		/// </summary>
		public string Account { get; set; }

		/// <summary>
		/// 密码
		/// </summary>
		public string Password { get; set; }
	}
}
